package com.zfx.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @description:
 * @author: zfx
 * @version: 1.0
 * @time: 2020-05-10 14:33
 * <p>
 * 修改历史：
 * 修改日期      修改人员    版本    内容
 * 2020-05-10   zfx       1.0
 */
@Data
@Table(name = "tbs_work_plan")
public class WorkPlan {

    @Column(name = "level1SystemId")
    private Integer level1SystemId;

    @Column(name = "typeId")
    private Integer typeId;

    @Column(name = "site")
    private Integer site;

    @Column(name = "name")
    private String name;

    @Column(name = "planDay")
    private Integer planDay;

    @Column(name = "totalDay")
    private Integer totalDay;

    @Column(name = "money")
    private Double money;

    @Column(name = "num")
    private String num;

    public WorkPlan() { }

    public WorkPlan(Integer level1SystemId, Integer typeId) {
        this.level1SystemId = level1SystemId;
        this.typeId = typeId;
    }

    public WorkPlan(Integer level1SystemId) {
        this.level1SystemId = level1SystemId;
    }
}
